import request from '@/utils/request'

/**
 * 销售看板
 * @param {*} params
 * @returns
 */
export function getSaleVisPannelData(params) {
  return request({
    url: '/A10/visPannel/sales/saleVisPannel',
    params
  })
}
/**
 * 销售看板详情的详情
 * @param {*} params
 * @returns
 */
export function getSubSubData(params) {
  return request({
    url: '/A10/visPannel/sales/saleVisPannelSubSub',
    params
  })
}
/**
 * W-看板
 * @param {*} params
 * @returns
 */
export function getWVisPannelData(params) {
  return request({
    url: '/A10/visPannel/sales/W-VisPannel',
    params
  })
}
/**
 * W看板Sub弹窗
 * @param {*} params
 * @returns
 */
export function getWSubData(params) {
  return request({
    url: '/A10/visPannel/sales/WSubData',
    params
  })
}
/**
 * L3-看板
 * @param {*} params
 * @returns
 */
export function getL3VisPannelData(params) {
  return request({
    url: '/A10/visPannel/sales/L3-VisPannel',
    params
  })
}
/**
 * L3销售看板Sub弹窗
 * @param {*} params
 * @returns
 */
export function getL3SubData(params) {
  return request({
    url: '/A10/visPannel/sales/L3SubData',
    params
  })
}
/**
 * L3销售生产看板Sub弹窗保存数据
 * @param {*} params
 * @returns
 */
export function saveSubData(data) {
  return request({
    url: '/A10/visPannel/sales/saveSubData',
    data: data,
    method: 'post'
  })
}
/**
 * YD-看板
 * @param {*} params
 * @returns
 */
export function getYDVisPannelData(params) {
  return request({
    url: '/A10/visPannel/sales/YD-VisPannel',
    params
  })
}

/**
 * NK-看板
 * @param {*} params
 * @returns
 */
export function getNKVisPannelData(params) {
  return request({
    url: '/A10/visPannel/sales/NK-VisPannel',
    params
  })
}

/**
 * FTP-看板
 * @param {*} params
 * @returns
 */
export function getFTPVisPannelData(params) {
  return request({
    url: '/A10/visPannel/sales/FTP-VisPannel',
    params
  })
}

/**
 * 看板详情信息
 * @param {*} params
 * @returns
 */
export function getSubData(params) {
  return request({
    url: '/A10/visPannel/sales/comSubData',
    params
  })
}
